﻿using FastMvc;
using FastMvc.Models;
using JQ.SAAS.DTO.OrgMenuSet;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace JQ.SAAS.IService
{
    public interface ISysMenuSetService : IJQService
    {
        Task<List<MenuTreeNodeDto>> GetOrgSetTree();
        Task<List<PageMenuDto>> GetOrgPageMenus(PageMenuQueryDto query);
        Task<MenuTreeNodeDto> AddTreeNode(MenuSetCreateDto orgMenuSetCreateDto);
        Task<MenuTreeNodeDto> UpdateTreeNode(string sId, MenuSetUpdateDto orgMenuSetUpdateDto);
        Task DeleteTreeNode(string sId);
    }
}
